﻿
@{
    ViewBag.Title = "ceshi";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<a onclick="loginv()">登陆</a>
<h2>ceshi</h2>
<script>
    var loginv = function (e) {
        debugger
        $.ajax({
            url: "/Home/LoginView",
            data: {
                retunrUrl: "/Home/Index",
            },
            type: "post",
            dataType: "html",
            success: function (data) {
                debugger
                $("body").append(data);
            },
            error: function (data) {
                debugger
                console.log(data);
            }
        })
    };
</script>

